//
//  TKL_BeautyDetailViewModel.m
//  TKL_EnPro
//
//  Created by 雅恩三河科技 on 2018/12/7.
//  Copyright © 2018年 MrZhang. All rights reserved.
//

#import "TKL_BeautyDetailViewModel.h"

@implementation TKL_beautyInfoModel
@end
@interface TKL_BeautyDetailViewModel ()

@end
@implementation TKL_BeautyDetailViewModel
#pragma mark - getter and setter

#pragma mark - method
-(void)requestBeautyData:(NSMutableDictionary *)para
{
    @WeakSelf;
    [[InterfaceManager shareInterface] requetInterface:@"get_beaty_detail" withParameter:para handler:^(NSDictionary *info, InterfaceStatusModel *infoModel) {
        if (infoModel.errorCode ==0)
        {
            [selfp setInfoModel:[TKL_beautyInfoModel yy_modelWithJSON:info]];
        }else
        {
            [FTIndicator showErrorWithMessage:infoModel.errorMsg];
        }
    }];
}
#pragma mark - life
-(instancetype)init
{
    if (self = [super init]) {
        
    }
    return self;
}
#pragma mark - delegate
@end
